package com.pojo;

public class Goods {
    private  int id;
    private String goodsCode;//商品编号
    private String goodsName;//商品名称
    private String goodsGenre;//商品类型
    private String goodsUnit;//单位
    private int goodsCount;//商品库存
    private int goodsBid;//进价
    private int goodsreturn;//退货数量
    private int goodssell;//销售数量
    private int goodsPric;//单价
    private String creationDate;//创建时间
    private String modifyDate;//更新时间
    private int providerid;//供应商id
    private Provider provider;//供应商

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsGenre() {
        return goodsGenre;
    }

    public void setGoodsGenre(String goodsGenre) {
        this.goodsGenre = goodsGenre;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public int getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(int goodsCount) {
        this.goodsCount = goodsCount;
    }

    public int getGoodsBid() {
        return goodsBid;
    }

    public void setGoodsBid(int goodsBid) {
        this.goodsBid = goodsBid;
    }

    public int getGoodsreturn() {
        return goodsreturn;
    }

    public void setGoodsreturn(int goodsreturn) {
        this.goodsreturn = goodsreturn;
    }

    public int getGoodssell() {
        return goodssell;
    }

    public void setGoodssell(int goodssell) {
        this.goodssell = goodssell;
    }

    public int getGoodsPric() {
        return goodsPric;
    }

    public void setGoodsPric(int goodsPric) {
        this.goodsPric = goodsPric;
    }

    public String getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(String creationDate) {
        this.creationDate = creationDate;
    }

    public String getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(String modifyDate) {
        this.modifyDate = modifyDate;
    }

    public int getProviderid() {
        return providerid;
    }

    public void setProviderid(int providerid) {
        this.providerid = providerid;
    }

    public Provider getProvider() {
        return provider;
    }

    public void setProvider(Provider provider) {
        this.provider = provider;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", goodsCode='" + goodsCode + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsGenre='" + goodsGenre + '\'' +
                ", goodsUnit='" + goodsUnit + '\'' +
                ", goodsCount=" + goodsCount +
                ", goodsBid=" + goodsBid +
                ", goodsreturn=" + goodsreturn +
                ", goodssell=" + goodssell +
                ", goodsPric=" + goodsPric +
                ", creationDate='" + creationDate + '\'' +
                ", modifyDate='" + modifyDate + '\'' +
                ", providerid=" + providerid +
                ", provider=" + provider +
                '}';
    }
}
